import com.alibaba.fastjson.JSON;

import java.util.*;

/**
 * Created by Administrator on 2017/5/11 0011.
 */
public class Test {
    public static void main(String[] args) {

        //new JFinalApiDocConfig("jdoc.properties").setClearSuffix("ApiController").start();

//        JFinal.start("WebContent", 80, "/shop");

      /*  NumberFormat nf= NumberFormat.getPercentInstance();
        try {
            Number number = nf.parse("50%");
            double d = number.doubleValue();
            System.out.println(d);
        } catch (ParseException e) {
            e.printStackTrace();
        }*/

        Calendar c = Calendar.getInstance();

        c.add(Calendar.DAY_OF_MONTH, 1);
        c.set(Calendar.HOUR_OF_DAY, 16);
//		String s = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(c.getTime());

        Date d = c.getTime();
        System.out.println(d);

        float a= 0.3f;
        float b = 0.4f;
        int e = 3;
        System.out.println(a*b*e);
        System.out.println(a+b+e);

        String s= "13551007059";
        String p = s.substring(0, 3)+"****"+s.substring(7,11);
        System.out.println(p);

        System.out.println(5*30);

    }



}
